export const personInfoOpt = [
  {
    label: "用户名称",
    iconClass: "user",
    dataKey: "userName",
  },
  {
    label: "手机号码",
    iconClass: "phone",
    dataKey: "phonenumber",
  },
  {
    label: "用户邮箱",
    iconClass: "email",
    dataKey: "email",
  },
  {
    label: "所属部门",
    iconClass: "tree",
    filter: (user) => {
      return user.dept ? `${user.dept.deptName} / ${user.postGroup}` : "";
    },
  },
  {
    label: "所属角色",
    iconClass: "peoples",
    dataKey: "roleGroup",
  },
  {
    label: "创建日期",
    iconClass: "date",
    dataKey: "createTime",
  },
];
